package com.example.userservice.novel.entity;

/**
 * 简化角色实体
 */
public class SimpleCharacter {

    private Long id;
    private String name;        // 角色姓名
    private String identity;    // 身份背景
    private String personality; // 性格特点
    private String goal;        // 目标动机
    private String growth;      // 成长轨迹
    
    // 简化的显示方法
    public String getSimpleDescription() {
        return String.format("%s - %s", name, identity);
    }
    
    public String getFullDescription() {
        return String.format("""
               姓名：%s
               身份：%s
               性格：%s
               目标：%s
               成长：%s
               """, name, identity, personality, goal, growth);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    // Getter方法
    public String getName() {
        return name;
    }

    public String getIdentity() {
        return identity;
    }

    public String getPersonality() {
        return personality;
    }

    public String getGoal() {
        return goal;
    }

    public String getGrowth() {
        return growth;
    }

    // Setter方法
    public void setName(String name) {
        this.name = name;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public void setPersonality(String personality) {
        this.personality = personality;
    }

    public void setGoal(String goal) {
        this.goal = goal;
    }

    public void setGrowth(String growth) {
        this.growth = growth;
    }
}